package net.chowda.appinject.model;

import java.util.List;
import java.util.ArrayList;

public class AppConfig {
    String url;
    String name;
    String displayName;
    String description;
    String inlineJs;
    List<String> injectjs = new ArrayList<String>(3);
    String overlay = "default";
    boolean redirect = false;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public boolean isRedirect() {
        return redirect;
    }

    public void setRedirect(boolean redirect) {
        this.redirect = redirect;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDisplayName() {
        return displayName;
    }

    public void setDisplayName(String displayName) {
        this.displayName = displayName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getOverlay() {
        return overlay;
    }

    public void setOverlay(String overlay) {
        this.overlay = overlay;
    }

    public void addInjectjs(String js) {
        injectjs.add(js);
    }

    public List<String> getInjectjs() {
        return injectjs;
    }

    public void setInjectjs(List<String> injectjs) {
        this.injectjs = injectjs;
    }

    public String getInlineJs() {
        return inlineJs;
    }

    public void setInlineJs(String inlineJs) {
        this.inlineJs = inlineJs;
    }
}
